package com.hehua.DynamicProxy;

public class UserDAO implements AbstractUserDAO {
    @Override
    public Boolean findUserById(String userId) {
        if (userId.equalsIgnoreCase("张无忌")){
            System.out.println("查询ID为"+userId+"的用户信息成功");
            return true;
        }else {
            System.out.println("查询用户ID"+userId+"的用户信息失败");
            return false;
        }
    }
}
